package org.s166.ums.impl;

import org.s166.ums.Userservice;
import org.s166.ums.dao.UserDao;
import org.s166.ums.dao.impl.UserDaoImpl;
import org.s166.ums.engity.User;


public class userServiceImpl implements Userservice {
    @Override
    public void register(User user) {
        System.out.println("实现注册相关的业务操作...");

        // 创建DAO对象，实现数据库操作
        UserDao userDao = new UserDaoImpl();
        userDao.add(user) ;
    }
}
